//
//  jxsViewTaskDetailsViewController.h
//  ToDoList
//
// This code file is apart of project "iPhone-ToDo-List" 
// (http://code.google.com/p/iphone-todo-list/)
//
// Copyright (c) 2009 Frank Villasenor
//
// Distributed under the terms of the Lesser GNU General Public License.
// A copy of the license should be with these files. If not, you 
// can retrieve a copy from http://www.gnu.org/licenses/lgpl-3.0.txt
// 

#import <UIKit/UIKit.h>
#import "jxsTaskReceiver.h"


@class tosuTask;
@class jxsEditTaskDetailViewController;


@interface jxsViewTaskDetailsViewController : UIViewController 
	<jxsTaskReceiver>
{
	//
	// Task item to show.
	tosuTask *taskToRepresent;
	
	//
	// Controls on Form.
	UILabel *titleLabel;
	UILabel *dueDateLabel;
	UILabel *isCompleteLabel;
	UITextView *notesLabel;
	
	//
	// ViewController to edit the current task.
	jxsEditTaskDetailViewController *editTaskDetailsViewController;
}

@property (retain) tosuTask *taskToRepresent;

@property (retain, nonatomic) IBOutlet UILabel *titleLabel;
@property (retain, nonatomic) IBOutlet UILabel *dueDateLabel;
@property (retain, nonatomic) IBOutlet UILabel *isCompleteLabel;
@property (retain, nonatomic) IBOutlet UITextView *notesLabel;

@property (retain) jxsEditTaskDetailViewController *editTaskDetailsViewController;

- (IBAction)editTaskInView;

- (void)displayTaskInView;

@end
